/* ---------------------------------------------------------- */
/*  input.h                                                   */
/* ---------------------------------------------------------- */
#ifndef INPUT_H
#define INPUT_H

/*-------------------------------*/
/* include                       */
/*-------------------------------*/

/*-------------------------------*/
/* define                        */
/*-------------------------------*/

#define  IN_Up       0x0001
#define  IN_Down     0x0002
#define  IN_Left     0x0004
#define  IN_Right    0x0008
#define  IN_Button1  0x0010
#define  IN_Button2  0x0020
#define  IN_Button3  0x0040
#define  IN_Button4  0x0080
#define  IN_Button5  0x0100
#define  IN_Button6  0x0200
#define  IN_Button7  0x0400
#define  IN_Button8  0x0800

/* --- �W���C�X�e�B�b�N�ő吔 */
#define  JOY_NUM_MAX  2

/* --- �W���C�X�e�B�b�N�̗V�ьv�� */
#define  JOY_STICK_DITHER  20000


/*-------------------------------*/
/* struct                        */
/*-------------------------------*/

/* ---------------------------------------------- */
/* --- extern                                  -- */
/* ---------------------------------------------- */

void  InputInit(void);
void  InputFree(void);
void  InputPoll(void);
int   InputExit(void);
int   InputJoyKey(int side);
int   InputJoyKeyTriger(int side);

#endif //INPUT.H

